<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>aaa</title>
    <style>
        .outer{
            height: 100px;
            width: 500px;
            border: 1px solid black;
        }
        @keyframes toright{
            0%{

            }
            100%{
                transform: translate(400px) rotate(360deg);
                border-radius: 30%;
            }

        }
        .inner {
            height: 100px;
            width: 100px;
            background-color: skyblue;
            animation-name: toright;
            animation-duration: 3s;
            animation-play-state: paused;
        }
        /* 自行车手 */
        @keyframes biker {
            0%{

            }
            100%{
                background-position: 0 -4030px;
            }
        }
        .bike {
            width: 130px;
            height: 130px;
            background-image: url("./images/bike.png");
            animation: biker 0.5s steps(31) infinite;
        }
    </style>
</head>
<body>
    <div class="outer">
        <div class="inner"></div>
    </div>
    <hr>
    <div class="bike"></div>
</body>
</html>